<script language='javascript' type='text/javascript' src="<?=base_url('template_type')?>scripts/template_type.js"></script>
<?php echo form_open($this->template_type_detail_model->url_prefix); ?>
<?if($msg){?><center><div class="messageBox"><?=$msg?></div></center><?}?>
<table border="0" cellspacing="0" cellpadding="0" class="infoTable">
  <tr>
    <td id='infoStr'>Name *:</td>
    <td id='infoInput' align='left'><input name="name" id="name" type="text" value="<?=h($name)?>" size="50" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Note:</td>
    <td id='infoInput' align='left'>
		<textarea name="note" cols="50" rows="5">{note}</textarea>
	</td>
  </tr>
  <tr>
    <td id='infoStr'>&nbsp;</td>
    <td id='infoInput' align='left'>
        <input type="button" value="Save" class="save_button" style="cursor:pointer" onclick="return template_type.saveItem({start}, {item_id})" />&nbsp;
        <input type="button" value="Cancel" class="cancel_button" style="cursor:pointer" onclick="template_type.cancel({start})" />
    </td>
  </tr>
</table>
</form>